Accessing Per-Task Storage Variables
Multiprocessing Services provides the following functions for creating and manipulating per-task storage variables:
MPAllocateTaskStorageIndex
returns an index number to access per-task storage.
MPDeallocateTaskStorageIndex
frees an index number used to access per-task storage.
MPSetTaskStorageValue
sets the storage value for a given index number.
MPGetTaskStorageValue
gets the storage value stored at a specified index number.
MPAllocateTaskStorageIndex
MPDeallocateTaskStorageIndex
MPSetTaskStorageValue
MPGetTaskStorageValue
© 1999 Apple Computer, Inc. – (Last Updated 17 Nov 99)